package com.ruoyi.project.system.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 课程练习配置对象 course_question_cfg
 * 
 * @author ruoyi
 * @date 2020-10-07
 */
public class CourseQuestionCfg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Integer id;

    /** 课程标识 */
    @Excel(name = "课程标识")
    private Long courseCatalogId;

    /** 题库标识 */
    @Excel(name = "题库标识")
    private Long questionId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sequenceCode;


    private List<Integer> list;

    public List<Integer> getList() {
        return list;
    }

    public void setList(List<Integer> list) {
        this.list = list;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCourseCatalogId(Long courseCatalogId) 
    {
        this.courseCatalogId = courseCatalogId;
    }

    public Long getCourseCatalogId() 
    {
        return courseCatalogId;
    }
    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setSequenceCode(Long sequenceCode) 
    {
        this.sequenceCode = sequenceCode;
    }

    public Long getSequenceCode() 
    {
        return sequenceCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseCatalogId", getCourseCatalogId())
            .append("questionId", getQuestionId())
            .append("sequenceCode", getSequenceCode())
            .toString();
    }
}
